@alink: #333;
@orange: #e78e26;
@boxwidth: 1179px;

@font-face {
  font-family: 'iconfont';
  src: url('//at.alicdn.com/t/font_1466236972_460498.eot'); /* IE9*/
  src: url('//at.alicdn.com/t/font_1466236972_460498.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('//at.alicdn.com/t/font_1466236972_460498.woff') format('woff'), /* chrome、firefox */
  url('//at.alicdn.com/t/font_1466236972_460498.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url('//at.alicdn.com/t/font_1466236972_460498.svg#iconfont') format('svg'); /* iOS 4.1- */
}



body, h1, h2, h3, h4, h5, p, span, a {
    font-family: "Microsoft YaHei", sans-serif !important;
}

.modal-dialog {
    width: 400px!important;
    z-index: 9999;
}

.control-label {
    width: 15%!important;
    height: 32px!important;
    line-height: 32px!important;
}
.form-control {
    width: 80%!important;
    resize: none!important;
    border: 1px solid #ccc!important;
}

.login-form input {
    padding: 10px 16px !important;
    height: auto !important;
}

#grade {
    float: left;
    position: relative;
    top: 8px;
    margin-right: 20px;
}
#schedule {
    width: 100%;
    border: 1px solid #ddd;
}
#schedule .btn.btn-active {
    background-color: #d9eaf7;
    color: white;
}
#schedule .btn:hover {
    background-color: #4c9bda;
    color: white;
}
#schedule .btn-title {
    background-color: #d9eaf7 !important;
    color: #36373e !important;
}
#schedule .btn {
    border: 1px solid #ddd;
    background-color: #fff;
    border-top-width: 0;
    border-right-width: 0;
    color: #59595a;
}
#schedule .btn .btn-wrapper {
    display: table;
    width: 100%;
}
#schedule .btn .btn-wrapper .label-block {
    display: inline-block;
    padding: 10px;
}
.timetable-preview a.btn {
    cursor: default;
}
.timetable-preview a.btn:hover {
    background-color: #fff !important;
}
.timetable-preview a.btn-active:hover {
    background-color: #d9eaf7 !important;
}
select {
    padding: 10px 12px !important;
    width: auto !important;
}

div.form-submit {
    margin-top: 25px;
}
.text-muted {
    color: #999 !important;
}
.left {
    float: left;
}
.right {
    float: right;
}

.btn {
    .iconfont {
        font-size: 20px;
        margin-right: 10px;
    }
}

.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}
* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    &:hover,
    &:link,
    &.active {
        text-decoration: none!important;
    }
}

img {
    vertical-align: top;
}

.btn {
    padding: 6px 20px!important;
    font-size: 16px !important;
}

.btn-primary {
    background-color: @orange !important;
    border-color: @orange !important;
}

.btn-default {
    color: @orange !important;
    background-color: #fff !important;
    border-color: @orange !important;
}
.header {
    height: 87px;
    width: @boxwidth;
    line-height: 88px;
    margin: 0 auto;
    padding: 13px 0;
    border-bottom: 1px solid #ccc;
    .logo {
        width: 170px;
        height: 60px;
        background: url('../common/resource/logo.png') no-repeat;
        background-size: contain;
        color: #fff;
        font-size: 18px;
        line-height: 60px;
        text-align: center;
        float: left;
        margin-right: 280px;
    }
    .main-nav {
        float: left;
        height: 60px;
        line-height: 60px;
        a {
            display: inline-block;
            height: 60px;
            line-height: 60px;
            padding: 0 17px;
            color: @alink;
            &:hover {
                // background-color: @orange;
                // color: #fff;
                // border-radius: 10px;
            }
        }
    }
    .operator {
        float: left;
        height: 60px;
        line-height: 60px;
        padding-left: 36px;
        a {
            display: inline-block;
            width: 84px;
            height: 40px;
            border: 1px solid @orange;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            color: @orange;
            line-height: 40px;
            text-align: center;
            border-radius: 8px;
            &.active {
                background: @orange;
                color: #fff;
            }
        }
    }
}
.footer {
    width: 100%;
    padding-top: 44.4%;
    background: url('../common/resource/footer_bg.jpg') no-repeat;
    background-size: 100% auto;
    color: #fff;
    position: relative;
    .wrap {
        width: @boxwidth;
        position: absolute;
        left: 50%;
        top: 0;
        margin-left: -@boxwidth/2;
        .left {
            float: left;
            width: 460px;
            height: 420px;
            margin-top: 70px;
            h2 {
                font-size: 38px;
                margin-right: 78px;
                text-align: right;
            }
            p {
                font-size: 20px;
            }
            .line {
                width: 82%;
                height: 4px;
                background: #fff;
                position: relative;
                &:after {
                    content: '';
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 20%;
                    height: 4px;
                    display: inline-block;
                    background-color: @orange;


                }
            }
            .phone {
                .iconfont {
                    float: left;
                    font-size: 40px;
                }
                span {
                    float: left;
                    font-size: 30px;
                    text-align: left;
                    line-height: 40px;
                    position: relative;
                    top: 8px;
                    left: 20px;
                }

            }
            .address {
                height: 100px;
                line-height: 100px;
                text-align: left;
            }

        }
        .right {
            width: 50%;
            text-align: right;
            height: 420px;
            float: right;
            margin-top: 76px;
            .focus {
                width: 172px;
                height: 44px;
                position: absolute;
                top: 77px;
                right: 36px;
                border: 1px solid #fff;
                color: #fff;
                text-align: center;
                line-height: 44px;
                border-radius: 5px;
                .iconfont {
                    font-size: 36px;
                    float: left;
                    margin: 0 13px;
                }
                em {
                    float: left;
                    font-style: normal;
                    font-size: 16px;
                }
            }
            img {
                position: absolute;
                top: 142px;
                right: 0;
                width: 245px;
                height: 220px;
                vertical-align: top;
            }
            p {
                width: 246px;
                position: absolute;
                top: 370px;
                right: 0;
                text-align: center;
            }
        }
    }
    .info {
        position: absolute;
        bottom: 110px;
        left: 0;
        width: 100%;
        text-align: center;
    }
}
